package com.inter.entity.newpojo.request.RequestBody;

import lombok.Getter;
import lombok.Setter;

import javax.xml.bind.annotation.*;

@Setter
@Getter
@XmlAccessorOrder(XmlAccessOrder.ALPHABETICAL)
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "body")

/**
 * Demo class
 *
 * @author lm
 * @date 2018/8/13
 */

public class OrderMonthlyPackageRequestBody {

    //设备的标识，取值定义如下：模块为IMEI；物联网卡为ICCID;SOC为IMEI；

    @XmlElement(name = "device_id")
    private String deviceId;

    //请求的设备类型的：2-模块；4-物联网卡；5-SOC

//    @XmlElement(name = "device_type")
//    private String deviceType;


    @XmlElement(name = "global_order")
    private String globalOrder;


    @XmlElement(name = "package_name")
    private String packageName;

    @XmlElement(name = "package_code")
    private String packageCode;

    @XmlElement(name = "package_type")
    private String packageType;

    //订购周期，单位为月
    @XmlElement(name = "order_period")
    private String orderPeriod;

    //支付结果，取值如下：1-未支付；2-支付成功；

    @XmlElement(name = "pay_rst")
    private String payRst;

     //支付方式，取值如下：0-ipay88;1-微信;2-支付宝

    @XmlElement(name = "pay_type ")
    private String payType;

    //此笔订单的支付金额，单位元，支持小数点后两位；

    @XmlElement(name = "pay_amount ")
    private String payAmount;

    //是否立即开通此套餐，对于支付成功，则允许立即开通；对于未支付订单，不允许开通，所以一定要判断开通标识。
    // 取值如下： 1-立即开通； 0-不开通；

    @XmlElement(name = "is_open")
    private String isOpen;


    @XmlElement(name = "test_flow_flag")
    private String testFlowFlag;


}
